import {defineStore} from 'pinia'
import {ref} from 'vue'

export const ordersStore = defineStore(
    'order',
    () => {

        const orders = ref([])

        const setOrders = (c) => {
            orders.value = c
        }

        return {
            orders,
            setOrders
        }
    },
    {
        persist: true
    }
)